﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CalculatorLib.Model
{
    public class CalModel
    {
        #region
        private int _integerValue1;
        private int _integerValue2;
        private CalOperation _operation;
        private IEnumerable<int> _listOfIntegerValue;
        private CalMode _calMode;
        #endregion

        #region Constructor
        public CalModel(CalOperation operation)
        {
            this.Operation = operation;
        }

        public CalModel()
        { 
        
        }
        #endregion


        #region Properties
        public int IntegerValue1
        {
            get { return _integerValue1; }
            set { _integerValue1 = value; }
        }

        public int IntegerValue2
        {
            get { return _integerValue2; }
            set { _integerValue2 = value; }
        }

        public CalOperation Operation
        {
            get { return _operation; }
            set { _operation = value; }
        }

        public IEnumerable<int> ListOfIntegerValue
        {
            get { return _listOfIntegerValue; }
            set { _listOfIntegerValue = value; }
        }

        public CalMode CalMode
        {
            get { return _calMode; }
            set { _calMode = value; }
        }
        #endregion
    }
}
